package com.shawn.model.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author shawn
 * @date 2022年 12月 19日 17:40
 */
@Data
public class GenderDistribution implements Serializable {
    private String title;
    private Integer amount;

    public static GenderDistribution init(String title){
        GenderDistribution genderDistribution = new GenderDistribution();
        genderDistribution.setTitle(title);
        genderDistribution.setAmount(0);
        return genderDistribution;
    }
}
